//
//  iconfontViewController.m
//  NavigationDemo
//
//  Created by 证联 on 2023/2/3.
//

#import "iconfontViewController.h"

@interface iconfontViewController ()
@property (weak, nonatomic) IBOutlet UILabel *text;
@property (weak, nonatomic) IBOutlet UIImageView *img;

@end

@implementation iconfontViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    self.text.text =@"\U0000e754";
    self.text.font = [UIFont fontWithName:@"iconfont" size:60];
//    self.img.image =[UIImage imageNamed:@"&#xe773"];
    
    UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(50, 50, 300, 40)];
       label.font = [UIFont fontWithName:@"iconfont" size:40];
   //   &#xe62f 转换 \U0000e618  &#xe754; bank_0431
    label.text = @"\U0000e773";
//       label.textColor = [UIColor redColor]; //改变字体颜色就是改变图片颜色
       [self.view addSubview:label];
    
   
    
 
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
